---
description: Ensure that autofocus property is not used
options: null
optionsDescription: Not configurable.
rationale: autofocus attribute reduces usability and accessibility for users.
ruleName: template-no-autofocus
type: functionality
typescriptOnly: true
layout: rule
title: 'Rule: template-no-autofocus'
optionsJSON: 'null'
---